package com.htc.repository;

import com.htc.entity.User;
import org.springframework.data.repository.CrudRepository;

/**
 * @author: htc
 * @date: Created in 14:49 2018/5/15.
 */
public interface UserRepository extends CrudRepository<User, Long> {
    User findByName(String userName);
}
